<%--
  Created by IntelliJ IDEA.
  User: PJM
  Date: 2025/6/23
  Time: 9:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>第一个Web应用</title>
    <link rel="stylesheet" href="./css/main.css" type="text/css" />
    <link rel="icon" href="./image/logo.png" />
    <script type="application/javascript">
      function changeColor() {
        // 获取页面元素，需要借助于js引擎内容提供的功能
        // document let局部 var全局
        let p = document.getElementById("p1");
        p.style.color = "red";
      }
    </script>
  </head>
  <body>

    <br/>
    <!-- 页面中的注释内容 -->
    <a href="https://www.baidu.com" target="_blank">访问百度</a>

    <table>
      <tr><th>序号</th><th>名称</th><th>产地</th><th>供应商</th><th>联系电话</th><th>商品样例</th></tr>
      <tr><td>1</td><td>苹果</td><td class="txt_right">陕西洛川县</td><td class="txt_right">陕西果品销售有限公司</td><td>13888888888</td>
        <td><img src="image/apple.jpg" width="100px"/></td></tr>
      <tr class="bg_color"><td>2</td><td>苹果</td><td class="txt_right">陕西洛川县</td><td class="txt_right">陕西果品销售有限公司</td><td>13888888888</td>
        <td><img src="image/apple.jpg" width="100px"/></td></tr>
      <tr><td>3</td><td>苹果</td><td class="txt_right">陕西洛川县</td><td class="txt_right">陕西果品销售有限公司</td><td>13888888888</td>
        <td><img src="image/apple.jpg" width="100px"/></td></tr>
      <tr class="bg_color"><td>4</td><td>苹果</td><td class="txt_right">陕西洛川县</td><td class="txt_right">陕西果品销售有限公司</td><td>13888888888</td>
        <td><img src="image/apple.jpg" width="100px"/></td></tr>
      <tr><td>5</td><td>苹果</td><td class="txt_right">陕西洛川县</td><td class="txt_right">陕西果品销售有限公司</td><td>13888888888</td>
        <td><img src="image/apple.jpg" width="100px"/></td></tr>
    </table>

  </body>
</html>
